﻿@using NUS.ISS.ARS.BusinessEntity.ViewModels
@model IEnumerable<NUS.ISS.ARS.BusinessEntity.ViewModels.CancelBookingTripView>

@{
    ViewBag.Title = "Cancel Booking";

}


@using (Html.BeginForm())
{
<h2>Cancel Booking</h2>
<p>Reference Number:<br />@Html.TextBox("reference")</p>
<p>First Name:<br />@Html.TextBox("firstName")</p>
<p>Last Name:<br />@Html.TextBox("lastName")</p>

<p>
<input type="submit" value="Search" />
</p>

}
<table class="table table-striped">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.ReferenceNumber)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CustomerName)
        </th>
        <th></th>
    </tr>

    @foreach (CancelBookingTripView item in Model)
    {
        Html.RenderPartial("CancelBookingCard", item);
    }
</table> 
 
